GUI Help > Menus > showPopupMenu

showPopupMenu
int item=showPopupMenu(handle menu)

Description:
Shows a popup menu created with createPopupMenu at the current mouse position and returns the number of the item the user selected.

Return Value:
Id of the item which the user selected.

Parameters:
menu Handle of a menu
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)